package com.hch.SpringControler;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Title: HelloControler
 * @Description: com.hch.SpringControler
 * @Auther: hch
 * @Version: 1.0
 * @create 2020/8/26 11:30
 */
@Controller
public class HelloControler {
    @ResponseBody
    @RequestMapping("/hello")
    public String hello()
    {

        return "Hello WOrd";
    }
}
